package com.junzhiit.nengji.api.web.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import com.junzhiit.nengji.api.service.SystemConfigService;
import com.junzhiit.nengji.api.web.vo.ResultVO;

import io.swagger.annotations.ApiOperation;

@RestController
@RequestMapping("/system/config")
public class SystemConfigController extends BaseController {
	
	@Autowired
	private SystemConfigService systemConfigService;
	
	@ApiOperation(value = "获取系统配置信息")
	@RequestMapping(method = RequestMethod.GET)
	public ResultVO get(){  
		return systemConfigService.get();
	}
}
